var ttTabs;
	$(function(){
		ttTabs = new Tabs("tt");
	});

	function interface_tabOnSelect(ObjId,tabId){
		//alert("tabs id:"+ObjId+",tab id:"+tabId);
	}
	
	function interface_addTab(tabName,tabUrl)
	{
		ttTabs.addTab({
			title:tabName,
			closable:true,
			cache:false,
			url:tabUrl,
			refresh:true,
			content:'<iframe src="'+tabUrl+'" frameborder="0" width="100%" height="100%"/>'
		});
	}
	
	function interface_delTab(tabId)
	{
		ttTabs.removeTabByTitle(tabId);
	}
	function interface_updateTab(tabName,tabUrl)
	{
		ttTabs.addTab({
			title:tabName,
			closable:true,
			cache:false,
			url:tabUrl,
			refresh:true,
			content:'<iframe src="'+tabUrl+'" frameborder="0" width="100%" height="100%"/>'
		});
	}
	
	
	